﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageMcSigAdmin.master" AutoEventWireup="true" CodeFile="AnularRemesaMinisterio.aspx.cs" Inherits="AnularRemesaMinisterio" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxLoadingPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxCallback" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxCallbackPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register assembly="UsrControls" namespace="UsrControls" tagprefix="cc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <cc1:msgBox ID="msgBox1" runat="server" />
 <asp:ScriptManager ID="ScriptManager1" runat="server">
 </asp:ScriptManager>
 <asp:Label runat="server" ID="lblMensaje"></asp:Label>
<table border="0" cellpadding="0" cellspacing="0" width="960px">
  <tr>
    <td>
     <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
  <ContentTemplate>
    <dx:ASPxCallback ID="ASPxCallback1" runat="server" ClientIDMode="AutoID" ClientInstanceName="Callback"><ClientSideEvents CallbackComplete="function(s, e) { LoadingPanel.Hide(); }" /></dx:ASPxCallback><dx:ASPxLoadingPanel ID="LoadingPanel" runat="server" ClientIDMode="AutoID" ClientInstanceName="LoadingPanel"
                                            CssPostfix="SoftOrange" ImagePosition="Top" Modal="True" Theme="iOS"><Image Url="~/App_Themes/SoftOrange/Web/Loading.gif"></Image></dx:ASPxLoadingPanel>
        
    <table width = "100%">
       
       <HeaderTemplate><b style="font-family: 'Arial'; font-size:xx-large">ANULAR REMESA</b></HeaderTemplate>
    <tr>
        <td class="campo">
        <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="EMPRESA:">
        </dx:ASPxLabel></td>
        <td>
        <dx:ASPxTextBox ID="ASPxTextBox1" runat="server" Width="195px" Text="TRANSPORTES AUTOSOL S.A.S" Height="18px">
        </dx:ASPxTextBox></td>
        <td class="campo">
        <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="NIT:">
        </dx:ASPxLabel></td>
        <td>
        <dx:ASPxTextBox ID="ASPxTextBox2" runat="server" Width="92px" Text="8600390049" Height="16px">
        </dx:ASPxTextBox></td>
        <td class="campo">
        <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="USUARIO:">
        </dx:ASPxLabel></td>
        <td>             
        <dx:ASPxTextBox ID="USUARIO" runat="server" Width="100px" Text = "clara13@270">
        </dx:ASPxTextBox></td>
    </tr>
    </table>
    <table width = "100%" >
    <dx:ASPxLabel ID="ASPxLabel38" runat="server" Text="Operación a Realizar">
        </dx:ASPxLabel>
    <tr><td></td></tr>  
    <tr>
        <td class="campo-obligatorio">
        <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Tipo Reversa / Ajuste:">
        </dx:ASPxLabel></td>
        <td>
        <dx:ASPxComboBox ID="ddlTipoReversaRemesa" runat="server" Height="26px" 
                Width="200px" Theme="PlasticBlue" AutoPostBack="True" 
                onselectedindexchanged="ddlTipoReversaRemesa_SelectedIndexChanged">
            <Items>
                <dx:ListEditItem Text="Anular" Value="A" />
                <dx:ListEditItem Text="Liberar del Manifiesto para Transbordo" Value="L" />
            </Items>
        </dx:ASPxComboBox>
        <asp:RequiredFieldValidator runat="server" 
             ControlToValidate="ddlTipoReversaRemesa" 
             ErrorMessage="Debe Ingresar los Campos Obligatorios" 
             ID="RequiredFieldValidator8" Display="Dynamic">Campo Obligatorio</asp:RequiredFieldValidator></td>
        <td class="campo-obligatorio">
        <dx:ASPxLabel ID="ASPxLabel15" runat="server" Text="Transbordo:">
        </dx:ASPxLabel></td>
        <td>
        <dx:ASPxLabel ID="ASPxLabel8" runat="server" Text="Departamento:">
        </dx:ASPxLabel>
        <dx:ASPxComboBox ID="ddldepartamentotransbordo" runat="server" Height="16px" 
                Width="257px" Theme="PlasticBlue"
        onselectedindexchanged="ddldepartamentotransbordo_SelectedIndexChanged" 
                AutoPostBack="True">
        </dx:ASPxComboBox>
        <dx:ASPxLabel ID="ASPxLabel10" runat="server" Text="Municipio:">
        </dx:ASPxLabel>
        <dx:ASPxComboBox ID="ddlmunicipiotransbordo" runat="server" Height="16px" Width="257px" SelectedIndex="0" Theme="PlasticBlue">
        </dx:ASPxComboBox>
            
        </td>
      </tr>
      <tr>
        <td class="campo-obligatorio">
        <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="Motivo Anulación:">
        </dx:ASPxLabel></td>
        <td>
        <dx:ASPxComboBox ID="ddlMotivoAnulacion" runat="server" Height="26px" Width="200px" 
                Theme="PlasticBlue">
            <Items>
                <dx:ListEditItem Selected="False" Text="Error Digitación" Value="D" />
                <dx:ListEditItem Text="Cancelación Servicio" Value="S" />
            </Items>
        </dx:ASPxComboBox>
          </td>
        <td class="campo-obligatorio">
        <dx:ASPxLabel ID="ASPxLabel40" runat="server" Text="Motivo Transbordo:">
        </dx:ASPxLabel></td>
        <td>
        <dx:ASPxComboBox ID="ddlMotivoTransbordo" runat="server" Height="26px" 
                Width="200px" Theme="PlasticBlue">
            <Items>
                <dx:ListEditItem Text="Accidente" Value="A" />
                <dx:ListEditItem Text="Varada" Value="V" />
                <dx:ListEditItem Text="Siniestro" Value="S" />
            </Items>
        </dx:ASPxComboBox>
        </td>
    </tr>
    </table>
    <table width = "100%" >
    <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="DATOS DE LA REMESA">
        </dx:ASPxLabel>
    <tr><td></td></tr>
    <tr> 
    <td class="campo-obligatorio">
        <dx:ASPxLabel ID="ASPxLabel7" runat="server" Text="Remesa Terrestre de Carga:">
        </dx:ASPxLabel></td>
        <td>
        <dx:ASPxComboBox ID="ddlRemesaTerrestre" runat="server" AutoResizeWithContainer="True" IncrementalFilteringMode="Contains"
             ValueType="System.String" Height="26px" Width="400px" Theme="PlasticBlue" 
             AutoPostBack="True" onselectedindexchanged="cargardatosremesa_Click">
        </dx:ASPxComboBox>
        <asp:RequiredFieldValidator runat="server" 
             ControlToValidate="ddlRemesaTerrestre" 
             ErrorMessage="Debe Ingresar los Campos Obligatorios" 
             ID="RequiredFieldValidator13" Display="Dynamic">Campo Obligatorio</asp:RequiredFieldValidator></td>
    </tr>       
    <tr>
     <td class="campo">
     <dx:ASPxLabel ID="ASPxLabel9" runat="server" Text="Remitente:">
     </dx:ASPxLabel></td>
        <td>
        <dx:ASPxTextBox ID="txtRemitente" runat="server" Width="300px" >
        </dx:ASPxTextBox></td>
     <td class="campo">
     <dx:ASPxLabel ID="ASPxLabel18" runat="server" Text="Fecha de Registro:">
     </dx:ASPxLabel></td>
        <td>
        <dx:ASPxTextBox ID="txtFechaRegistro" runat="server" Width="100px" >
        </dx:ASPxTextBox></td> 
    </tr>
    <tr>
     <td class="campo">
     <dx:ASPxLabel ID="ASPxLabel62" runat="server" Text="Origen:">
     </dx:ASPxLabel></td>
        <td>
        <dx:ASPxTextBox ID="txtOrigen" runat="server" Width="300px" >
        </dx:ASPxTextBox></td>
     <td class="campo">
     <dx:ASPxLabel ID="ASPxLabel63" runat="server" Text="Descripción Producto:">
     </dx:ASPxLabel></td>
        <td>
        <dx:ASPxTextBox ID="txtDescripcionProducto" runat="server" Width="300px" >
        </dx:ASPxTextBox></td> 
    </tr>
    <tr>
    <td class="campo">
     <dx:ASPxLabel ID="ASPxLabel64" runat="server" Text="Consecutivo Manifiesto:">
     </dx:ASPxLabel></td>
    <td>
        <dx:ASPxTextBox ID="txtConsecutivoManifiesto" runat="server" Width="100px" >
        </dx:ASPxTextBox></td>
    </tr>
    <tr>
    <td class="campo">
     <dx:ASPxLabel ID="ASPxLabel65" runat="server" Text="Observaciones:">
     </dx:ASPxLabel></td>
    <td>
        <dx:ASPxTextBox ID="txtObservacionesanulacion" runat="server" Width="400px" 
            Height="50px" Text="-" >
        </dx:ASPxTextBox></td>
    </tr>   
</table>
    <table width = "50%">
    <tr><td align="center" style="width: 552px">
        <dx:ASPxButton ID="EnviarCumplidoRemesa" runat="server" Text="Guardar Reversa / Ajuste Remesa" 
        HorizontalAlign="Center" Height="49px" Theme="PlasticBlue" 
            onclick="EnviarCumplidoRemesa_Click">
        <ClientSideEvents Click="function(s, e) { Callback.PerformCallback();  LoadingPanel.Show(); }" />
        </dx:ASPxButton>
        </td>
        <td align="center" style="width: 552px">
        <dx:ASPxButton ID="btn" runat="server" Text="Reversar Otra Remesa" 
        HorizontalAlign="Center" Height="49px" Theme="PlasticBlue" onclick="btnanularotraremesa_Click">
        <ClientSideEvents Click="function(s, e) { Callback.PerformCallback();  LoadingPanel.Show(); }" />
        </dx:ASPxButton>
        </td>
    </tr>
   </table>
  </ContentTemplate>
   </td>
    </tr>
   </table>
 </asp:Content>


